home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 4 / Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso / Pearls / etech / GALer20 / Examples / GAL20RA10.pld < prev    next >
Text File  |  1993-11-14  |  828b  |  29 lines

  1. GAL20RA10
  2. 20RA10
  3.  
  4. /PL Set Enable1 Enable2 Clock1  Clock2 NC NC NC NC NC GND
  5. /OE NC  NC      ResetB1 ResetA1 D2     D1 Y4 Y3 Y2 Y1 VCC
  6.  
  7.  
  8. Y1.R     =  D1                ; define register output
  9. Y1.E     =  Enable1            ; define tristate control
  10. Y1.CLK   =  Clock1            ; define clock for the register
  11. Y1.ARST  =  ResetA1 * ResetB1        ; define async. reset
  12. Y1.APRST =  Set                ; define async. preset
  13.  
  14. Y2  =  Set + D1                ; Y2 is a "normal" output
  15.  
  16. /Y3.R  =  D2                ; Y3 is active low and a reg. output
  17. Y3.E   =  Enable2
  18. Y3.CLK =  Clock2
  19.  
  20. Y4.T   =  /D1 + /D2            ; Y4 is a tristate output
  21. Y4.E   =  /Enable2
  22.  
  23.  
  24. DESCRIPTION
  25. To define the clock, asynchronous reset and asynchronous preset for registered
  26. outputs you can use the suffixes .CLK, .ARST and .APRST.
  27. Clock must be defined for every register output whereas async. reset and async.
  28. preset are optinal.
  29.